package com.weixing.mall.provider.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.weixing.mall.provider.model.domain.MediaAgentBind;
import com.weixing.mall.provider.model.query.MediaAgentBindQuery;
import com.weixing.mall.provider.model.vo.ads.MediaAgentBindVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 广告模块-广告专员与代理商绑定关系表 Mapper 接口
 * </p>
 *
 * @author Small
 * @since 2019-11-18
 */
public interface MediaAgentBindMapper extends BaseMapper<MediaAgentBind> {

    IPage<MediaAgentBindVo> selectOfPage(@Param("pg") Page page,@Param("qs") MediaAgentBindQuery mediaAgentBindQuery);

    List<MediaAgentBindVo> selectOfPage(@Param("qs") MediaAgentBindQuery mediaAgentBindQuery);
}
